<?php
/**
 *
 */
class SocialSecurity extends AppModel {
/**
 * Display field
 *
 * @var string
 */

/**
 * hasMany associations
 *
 * @var array
 */

    var $belongsTo = array(
        'SocialSecurityCategory' => array(
            'className' => 'SocialSecurityCategory',
            'foreignKey' => 'social_security_category_id',
            'conditions' => '',
            'order' => '',
            'limit' => '',
            'dependent' => false
        )
    );
    
    
    
    /**
     * This function retrieves all the users from the database tables users.
     * @name getAllUsers
     * @param void
     * @return mixed. Array containing the data retrieved.
     * @access public
     */
    function get(){
        return $this->find('all',array(
            'conditions'=>array('deleted'=>'n'),
            'recursive'=>-1
        ));
    }
}
